/**
 * 查询列表接口
 * @param name
 * @returns {*}
 * @author 千锋健哥
 */
const findIndustryPage = (params) => {
  return $axios({
    url: managerGateway + '/user/industry/list',
    method: 'post',
    data:{...params}
  })
};


/**
 * 新增接口
 * @param params
 * @returns {*}
 * @author 千锋健哥
 */
const addIndustry = (params) => {
  return $axios({
    url: managerGateway + '/user/industry/add',
    method: 'post',
    data: { ...params }
  })
}


/**
 * 根据id查询
 * @param id
 * @returns {*}
 * @author 千锋健哥
 */
const findIndustryById = (id) => {
  return $axios({
    url: managerGateway + '/user/industry/id/'+id,
    method: 'get'
  })
}

/**
 *  根据指定id删除的接口
 * @param id
 * @author 千锋健哥
 */
const deleteIndustryById = (id) => {
  return $axios({
    url: managerGateway + '/user/industry/delete/'+id,
    method: 'post'
  })
}

/**
 * 修改接口
 * @param params
 * @returns {*}
 * @author 千锋健哥
 */
const editUpdate = (params) => {
  return $axios({
    url: managerGateway + '/user/industry/update',
    method: 'post',
    data: { ...params }
  })
}

